package com.lzjt.mapper;

import com.lzjt.entity.AccountEntity;
import com.lzjt.model.AccountModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Mapper
public interface AccountMapper {
    /*用户登录security*/
    AccountModel securityLogin(String uname);
    int resetPwd(Long id, String pwd);
    int regist(AccountEntity entity);
    int updateAccount(AccountEntity entity);
    int checkPhone(String phone);
}
